-
Notifications
You must be signed in to change notification settings - Fork 47
test: generate bound model methods tests #546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
686fce8 to
dfa9389
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #546 +/- ##
==========================================
+ Coverage 95.82% 96.58% +0.76%
==========================================
Files 67 67
Lines 3401 3401
==========================================
+ Hits 3259 3285 +26
+ Misses 142 116 -26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
77559ad to
965e21b
Compare
965e21b to
e50082d
Compare
|
Depends on #564 |
144860b to
04dee98
Compare
04dee98 to
5ceab8e
Compare
|
The diff on this MR is really large, but the important bits are in f0b3622 To further check this PR is valid, I recommend looking at the coverage report and see that "nothing" changed. |
5ceab8e to
95940a2
Compare
lukasmetzner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool 🚀
In our bound models, many of the methods are only proxies to the api client methods. But our tests are always testing the full stack down to the HTTP requests. This lead to a lot of duplicate tests for the API client and the bound models methods.
This change removes the bound models methods tests, and uses a generic "proxy method test" for all our bound models.